package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.BtyZxFeiyongfentan;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyZxFeiyongfentanParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyZxFeiyongfentanResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2021-08-30
 */
public interface BtyZxFeiyongfentanService extends IService<BtyZxFeiyongfentan> {

    /**
     * 新增
     *
     * @author 
     * @Date 2021-08-30
     */
    void add(BtyZxFeiyongfentanParam param);

    /**
     * 删除
     *
     * @author 
     * @Date 2021-08-30
     */
    void delete(BtyZxFeiyongfentanParam param);

    /**
     * 更新
     *
     * @author 
     * @Date 2021-08-30
     */
    void update(BtyZxFeiyongfentanParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author 
     * @Date 2021-08-30
     */
    BtyZxFeiyongfentanResult findBySpec(BtyZxFeiyongfentanParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author 
     * @Date 2021-08-30
     */
    List<BtyZxFeiyongfentanResult> findListBySpec(BtyZxFeiyongfentanParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author 
     * @Date 2021-08-30
     */
     LayuiPageInfo findPageBySpec(BtyZxFeiyongfentanParam param);

    List<Map> dmList();

    ResponseData addBxd(BtyZxFeiyongfentanParam param);

    ResponseData rebutBxd(BtyZxFeiyongfentanParam param);

    LayuiPageInfo listBxd(BtyZxFeiyongfentanParam btyZxFeiyongfentanParam);
}
